home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!john.hendrikx
- Date: Fri, 12 Jan 96 00:15:40 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: Protection bits
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
- Message-ID: <john.hendrikx.45jm@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- In a message of 10 Jan 96 Dennis Lee Bieber wrote to All:
-
- >> When I come to think of it this doesn't seem all that hard to do and it
- >> would probably not even slow down the filesystem. I mean, taking a peek
- >> at the first 512 bytes as it is written shouldn't be that hard. The only
- >> trouble is that 512 bytes might not be sufficient to make a FileID...
-
- DLB> But that basically would be the same as having the contents of
- DLB> an .info file as the first block of EVERY file... Which I think is the
- DLB> basic idea on the Mac (I don't fully understand the "data" and
- DLB> "resource" forks but if the "resource" fork is a block at the start of
- DLB> the file that IDs the file type and the program that generated it...).
- DLB> I, personally, prefer files to be PURE files; not some hybrid that
- DLB> requires tricks to transfer to other users.
-
- I said I wanted a LONG in the fileheader which identifies the file, not a
- seperate .info file or something. This LONG would not need to be transferred.
- Any Computer supporting this auto-ID-ing system would set its LONG
- automatically in the fileheader. This means the files are still PURE files and
- there should be no problems when transferring them.
-
- The only advantage gained by such a system is a quick way to display all JPEG
- files, without even looking at the contents of the file (the FileSystem did
- this for you, and stored the result of this check in the ID LONG -- all you
- need to do is to see if the LONG matches JPEG_ID).
-
- Grtz John
-
- -----------------------------------------------------------------------
- John.Hendrikx@grafix.xs4all.nl TextDemo/FastView/Etc... development
- -----------------------------------------------------------------------
- -- Via Xenolink 1.981, XenolinkUUCP 1.1
-